from urllib import request

resp = request.urlopen('http://www.baidu.com/')
# print(resp.read())
print(resp.readlines())
